title: Drupal 7: how to filter view content (with entity reference field) based on current page content
body: <p>in my drupal 7 I have 2 content-types like these:</p>
  
  <ul>
  <li>ContentA</li>
  <li>ContentB (with a field Entity Reference to ContentA)</li>
  </ul>
  
  <p>In the front-end detail page of ContentA, I would love to show a block/view with a list of ContentB whose Entity Reference field is set to the current ContentA.</p>
  
  <p>I made a view of type Block and added it correctly to the page, but I cannot filter ContentB based on the current ContentA.</p>
  
  <p>Could you help me?</p>
  
  <p>Thanks</p>